package top.yxqz.number2.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import top.yxqz.number2.entity.Emp;

/**
 * @author: 余小小
 * @date: 2023/9/12
 * @description：
 * @Mapper 创建代理类对象
 */
@Mapper
public interface EmpDao {
    @Select("select * from t_ssm_emp where emp_id=#{id}")
    Emp getEmpById(@Param("id") int id);
}
